prototype of sensor